//首页报表接口
//引入工具函数
import request from '@/until/request'

//首页报表接口
export const homeTotalReq = () => {
  return request({
    method: 'get',
    url: '/order/totaldata',
  })
}

//订单报表接口
export const orderTotalReq = params => {
  return request({
    method: 'get',
    url: '/order/ordertotal',
    params,
  })
}
